home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
dlg
/
DLG_Correct.lha
/
DLG_Correct.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-06-21
|
723b
|
37 lines
/* restore filenote to msg */
/* jon d. godfrey, re0273 */
call open(d,'T:dlg_correct',R)
file = readln(d)
from = readln(d)
junk = readln(d)
note = readln(d)
if eof(d)=1 then do
address command "c:date >ram:date"
call open(a,'ram:date',R)
data=readln(a)
call close(a)
parse var data dayname' 'date' 'time
dayname = left(dayname,3)
parse var date day'-'month'-'year
time = left(time,5)
newdate = dayname' 'day' 'month' 'year' 'time
note = 'Created: 'newdate', by 'from
end
else do
note = right(note,length(note)-2)
end
call close(d)
operation = 'c:filenote '||file||' "'note'"'
address command operation
address command "c:delete >NIL: t:dlg_correct"